package com.heima.selection.pojo;

import lombok.Data;

/**
 * 系统认证token
 *
 * @author YuanZiwen
 * @date 2025/06/22
 */
@Data
public class SysAuthToken {

    private Long userId;

    private String username;

    private String avatar;

    private String phone;

    private String token;

    private long tokenTimeout;


    public SysAuthToken(Long userId, String username, String avatar, String phone, String token, long tokenTimeout) {
        this.userId = userId;
        this.username = username;
        this.token = token;
        this.tokenTimeout = tokenTimeout;
        this.phone = phone;
        this.avatar = avatar;
    }
}
